package com.cxso.example.response.etc;

import com.cxso.example.domain.etc.EtcInvoiceDomain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Getter
@Setter
public class EtcInvoiceResponse implements Serializable {

    @Schema(description = "接收时间，格式：yyyy-MM-DDTHH:mm:ss")
    private Date receiveTime;

    @Schema(description = "车牌号码")
    private String plateNum;

    @Schema(description = "车辆类型")
    private int vehicleType;

    @Schema(description = "运单编号，最大32个字符")
    private String waybillNum;

    @Schema(description = "运单状态：1:未结束 2:开票中 3:开票完成 5:开票失败")
    private int waybillStatus;

    @Schema(description = "运单开始时间，格式：yyyy-MM-DDTHH:mm:ss")
    private Date waybillStartTime;

    @Schema(description = "运单结束时间，格式：yyyy-MM-DDTHH:mm:ss")
    private Date waybillEndTime;

    @Schema(description = "通行交易数量")
    private int wayOrderCount;

    @Schema(description = "发票数据")
    private List<EtcInvoiceDomain> result;
}
